<?php

require_once (SRC_DIR . '/framework/View/ViewResourceContainer.php');


class TestViewResourceContainer extends UnitTestCase	{

	public function testSettingAndRetrievingResources()	{
		$vrc = new ViewResourceContainer();
		
		$testResource = array('wibble' => 'wobble');
		$vrc->addResource('aTestResource', $testResource);
		
		$this->assertEqual($vrc->getResource('aTestResource'), $testResource);
	}
}
?>